package com.cloudkinto.service.storage;

import com.cloudkinto.entity.FbaStorageDo;
import com.baomidou.mybatisplus.extension.service.IService;

import com.cloudkinto.common.web.PageResult;
import com.cloudkinto.common.web.SingleResult;
import com.cloudkinto.service.storage.vo.FbaStorageAddReq;
import com.cloudkinto.service.storage.vo.FbaStorageEntity;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  service接口
 * </p>
 * @author zhangyy
 * @since 2020-08-11
 */
public interface FbaStorageService extends IService<FbaStorageDo> {

    SingleResult addInit();

    Object add(List<FbaStorageEntity> req, Long userId);

    SingleResult updateInit(Long id);

    Object update(Object updateVo, Long userId);

    int delete(Long id, Long userId);

    String jumpToMap(String address);

    SingleResult pageInit();

    List<Object> getList(Map<String, String> map);

    PageResult getListPage(Map<String, String> map);

    Object addFbaStorage(FbaStorageAddReq req);
}
